﻿using Surpass.Model.BaseDomain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Surpass.Model.WorkFlow
{
    /// <summary>
    /// 请假申请
    /// </summary>
    [Table("LeaveRequest")]
    public class LeaveRequest:BaseModel
    {
        [Key]
        public Guid Id { get; set; } 
        /// <summary>
        /// 请假原因
        /// </summary>
        [StringLength(500)]
        public string Reason { get; set; }
        /// <summary>
        /// 请假时长
        /// </summary>
        public string Duration { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
